package com.lock;

import com.alibaba.fastjson.JSONObject;
import org.springframework.stereotype.Component;

@Component
public class Consistency extends AbstractConsistency {

	void inject(JSONObject data, ConsistencyHandlers consistency) {
		//redis分布式锁 try cath
		super.setAttributes(data);
		super.setConsistencyHandlers(consistency);
		super.inject();
	}

}
